<%@ page contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/runqianReport4.tld" prefix="report"%>
<html>
<head>
<title>报表统计</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.report1 {
	display: none
}
</style>
</head>
<script type="text/javascript">
	/* function del(){
		$(".report1").remove();
	} */
</script>
<body topmargin=0 leftmargin=0 rightmargin=0 bottomMargin=0>
	<jsp:include page="toolbar.jsp" flush="false" />
	
	<table id=rpt align=center>
		<tr>
			<td>
				<c:if test="${hasParamFile}">
					<table id=param_tbl>
						<tr>
							<td>
								<report:param name="form1" 
									paramFileName="${raqParamName}"
									resultPage="bisreport_${currentMethod}.action"
									needSubmit="no" params="${params}" /></td>
							<td>
								<a href="javascript:_submit( form1 )"> 
									<img src="${pageContext.request.contextPath}/style/report/query.jpg"
									border=no style="vertical-align:middle">
								</a>
							</td>
						</tr>
					</table>
				</c:if>


				<table align=center>
					<tr>
						<td>
						<report:html name="report1" reportFileName="${raqname }"
								funcBarLocation="" needPageMark="yes" generateParamForm="no"
								needLinkStyle="yes" params="${params}" width="-1"
								reportEnterUrl="bisreport_${currentMethod}.action"
								exceptionPage="/myError.jsp" /></td>
					</tr>
				</table> 
				
				
				<script language="javascript">
					//设置分页显示值
					document.getElementById("t_page_span").innerHTML = report1_getTotalPage();
					document.getElementById("c_page_span").innerHTML = report1_getCurrPage();
					function show_detail(orderId) {
						window.open("showReport.jsp?raq=order_detail.raq&orderid=" + orderId, "_blank");
					}
				</script> 
			</td>
		</tr>
	</table>

</body>
</html>
<%-- <script language="javascript">
	//给C2单元格定义onClick事件
	document.getElementById("report1_C2").onclick=function()
	{
		//用document中提供的方法取B2单元格的显示值
		var  a=document.getElementById("report1_B2").innerText;
		alert("value="+a);
		//定义页面跳转的url，并且把参数和参数值添加到url中
		window.location="showReport.jsp?raq=new1.raq&dingdan="+a;
	}
</script>  --%>